package code.springboot.banner;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author rocky
 */
@SpringBootApplication
@RestController
public class BannerApplication {

    public static void main(String[] args) {
        SpringApplication.run(BannerApplication.class, args);
    }

    @GetMapping("/banner")
    public String banner()
    {
        return "banner 加载成功";
    }
}
